import React,{Component}  from 'react'
import { Link } from 'react-router-dom'
import './item.scss'
export default  function EvaluateItem({item,typeId}){
  return <Link 
  to={{
    pathname: `/EvaluateItemD/${typeId}`,
    state: { item }
  }}
   className="list-item list-item-img">
         <img src={item.img} className="item-img"/>
         <div className="item-content">
             <div className="top">
                <p className="title">{item.title}</p>
                <p className="mintitle">{item.minTitle}</p>
             </div>
             <div className="bottom">
                <p>{item.startAddress}</p>
                <p>{item.overAddress}</p>
             </div>
          </div>
  </Link>
}